package main.h_BuilderModel;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by newtranx_011 on 2017/9/22.
 */
public class Product {
    List<String> parts = new ArrayList<String>();

    public void add(String part){
        parts.add(part);
    }

    public void show(){
        for (String part:parts) {
            System.out.println(part);
        }
    }
}
